<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.13"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>AWTK-JAVA: awtk.BitmapFormat 枚举类型参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">AWTK-JAVA
   </div>
   <div id="projectbrief">AWTK JAVA API</div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.13 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'搜索');
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
$(function() {
  initMenu('',true,false,'search.php','搜索');
  $(document).ready(function() { init_search(); });
});
</script>
<div id="main-nav"></div>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><b>awtk</b></li><li class="navelem"><a class="el" href="enumawtk_1_1_bitmap_format.html">BitmapFormat</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pub-static-methods">静态 Public 成员函数</a> &#124;
<a href="#pub-attribs">Public 属性</a> &#124;
<a href="enumawtk_1_1_bitmap_format-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">awtk.BitmapFormat 枚举类型参考</div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:a5cb24a5f67126e99660b42bce9ac86cf"><td class="memItemLeft" align="right" valign="top"><a id="a5cb24a5f67126e99660b42bce9ac86cf"></a>
&#160;</td><td class="memItemRight" valign="bottom"><b>BitmapFormat</b> (int value)</td></tr>
<tr class="separator:a5cb24a5f67126e99660b42bce9ac86cf"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a961a8682d3f342647eb40785cb82254a"><td class="memItemLeft" align="right" valign="top"><a id="a961a8682d3f342647eb40785cb82254a"></a>
int&#160;</td><td class="memItemRight" valign="bottom"><b>value</b> ()</td></tr>
<tr class="separator:a961a8682d3f342647eb40785cb82254a"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-static-methods"></a>
静态 Public 成员函数</h2></td></tr>
<tr class="memitem:ae68b3a319a9358fe1f0888edcf9d9c21"><td class="memItemLeft" align="right" valign="top"><a id="ae68b3a319a9358fe1f0888edcf9d9c21"></a>
static <a class="el" href="enumawtk_1_1_bitmap_format.html">BitmapFormat</a>&#160;</td><td class="memItemRight" valign="bottom"><b>from</b> (int value)</td></tr>
<tr class="separator:ae68b3a319a9358fe1f0888edcf9d9c21"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-attribs"></a>
Public 属性</h2></td></tr>
<tr class="memitem:adf81996dae060a1e83eb2c615976b83c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="enumawtk_1_1_bitmap_format.html#adf81996dae060a1e83eb2c615976b83c">NONE</a> =(BITMAP_FMT_NONE())</td></tr>
<tr class="separator:adf81996dae060a1e83eb2c615976b83c"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a842df7da3dff87f91af9736e58138bc8"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="enumawtk_1_1_bitmap_format.html#a842df7da3dff87f91af9736e58138bc8">RGBA8888</a> =(BITMAP_FMT_RGBA8888())</td></tr>
<tr class="separator:a842df7da3dff87f91af9736e58138bc8"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a09514f315cf00f6da6c0428413a8aa1d"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="enumawtk_1_1_bitmap_format.html#a09514f315cf00f6da6c0428413a8aa1d">ABGR8888</a> =(BITMAP_FMT_ABGR8888())</td></tr>
<tr class="separator:a09514f315cf00f6da6c0428413a8aa1d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ac2ba8176e9632b1d6612611da3b83e30"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="enumawtk_1_1_bitmap_format.html#ac2ba8176e9632b1d6612611da3b83e30">BGRA8888</a> =(BITMAP_FMT_BGRA8888())</td></tr>
<tr class="separator:ac2ba8176e9632b1d6612611da3b83e30"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:af953b89f88bfced3e014cadc302e635e"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="enumawtk_1_1_bitmap_format.html#af953b89f88bfced3e014cadc302e635e">ARGB8888</a> =(BITMAP_FMT_ARGB8888())</td></tr>
<tr class="separator:af953b89f88bfced3e014cadc302e635e"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:adc555dca36daed2ab13f915489f89f3a"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="enumawtk_1_1_bitmap_format.html#adc555dca36daed2ab13f915489f89f3a">RGB565</a> =(BITMAP_FMT_RGB565())</td></tr>
<tr class="separator:adc555dca36daed2ab13f915489f89f3a"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa6a0dff71ccc03abca46fdc24df2ced9"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="enumawtk_1_1_bitmap_format.html#aa6a0dff71ccc03abca46fdc24df2ced9">BGR565</a> =(BITMAP_FMT_BGR565())</td></tr>
<tr class="separator:aa6a0dff71ccc03abca46fdc24df2ced9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa24974876f0b0a07248122e5a7b80b86"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="enumawtk_1_1_bitmap_format.html#aa24974876f0b0a07248122e5a7b80b86">RGB888</a> =(BITMAP_FMT_RGB888())</td></tr>
<tr class="separator:aa24974876f0b0a07248122e5a7b80b86"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a91d3b91bdbdb41a50f54c4338a74c700"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="enumawtk_1_1_bitmap_format.html#a91d3b91bdbdb41a50f54c4338a74c700">BGR888</a> =(BITMAP_FMT_BGR888())</td></tr>
<tr class="separator:a91d3b91bdbdb41a50f54c4338a74c700"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a7a446499a1521b0cf2b620699e148473"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="enumawtk_1_1_bitmap_format.html#a7a446499a1521b0cf2b620699e148473">GRAY</a> =(BITMAP_FMT_GRAY())</td></tr>
<tr class="separator:a7a446499a1521b0cf2b620699e148473"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a0012d20ea01c431a8d3f974585e7fa1c"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="enumawtk_1_1_bitmap_format.html#a0012d20ea01c431a8d3f974585e7fa1c">MONO</a> =(BITMAP_FMT_MONO())</td></tr>
<tr class="separator:a0012d20ea01c431a8d3f974585e7fa1c"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><p>位图格式常量定义。 </p>
</div><h2 class="groupheader">类成员变量说明</h2>
<a id="a09514f315cf00f6da6c0428413a8aa1d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a09514f315cf00f6da6c0428413a8aa1d">&#9670;&nbsp;</a></span>ABGR8888</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">awtk.BitmapFormat.ABGR8888 =(BITMAP_FMT_ABGR8888())</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>一个像素占用4个字节，ABGR占一个字节，按内存地址递增。 </p>

</div>
</div>
<a id="af953b89f88bfced3e014cadc302e635e"></a>
<h2 class="memtitle"><span class="permalink"><a href="#af953b89f88bfced3e014cadc302e635e">&#9670;&nbsp;</a></span>ARGB8888</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">awtk.BitmapFormat.ARGB8888 =(BITMAP_FMT_ARGB8888())</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>一个像素占用4个字节，ARGB占一个字节，按内存地址递增。 </p>

</div>
</div>
<a id="aa6a0dff71ccc03abca46fdc24df2ced9"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa6a0dff71ccc03abca46fdc24df2ced9">&#9670;&nbsp;</a></span>BGR565</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">awtk.BitmapFormat.BGR565 =(BITMAP_FMT_BGR565())</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>一个像素占用2个字节，BGR分别占用5,6,5位, 按内存地址递增。 </p>

</div>
</div>
<a id="a91d3b91bdbdb41a50f54c4338a74c700"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a91d3b91bdbdb41a50f54c4338a74c700">&#9670;&nbsp;</a></span>BGR888</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">awtk.BitmapFormat.BGR888 =(BITMAP_FMT_BGR888())</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>一个像素占用3个字节，RGB占一个字节，按内存地址递增。 </p>

</div>
</div>
<a id="ac2ba8176e9632b1d6612611da3b83e30"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ac2ba8176e9632b1d6612611da3b83e30">&#9670;&nbsp;</a></span>BGRA8888</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">awtk.BitmapFormat.BGRA8888 =(BITMAP_FMT_BGRA8888())</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>一个像素占用4个字节，BGRA占一个字节，按内存地址递增。 </p>

</div>
</div>
<a id="a7a446499a1521b0cf2b620699e148473"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a7a446499a1521b0cf2b620699e148473">&#9670;&nbsp;</a></span>GRAY</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">awtk.BitmapFormat.GRAY =(BITMAP_FMT_GRAY())</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>一个像素占用1个字节。 </p>

</div>
</div>
<a id="a0012d20ea01c431a8d3f974585e7fa1c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0012d20ea01c431a8d3f974585e7fa1c">&#9670;&nbsp;</a></span>MONO</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">awtk.BitmapFormat.MONO =(BITMAP_FMT_MONO())</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>一个像素占用1比特。 </p>

</div>
</div>
<a id="adf81996dae060a1e83eb2c615976b83c"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adf81996dae060a1e83eb2c615976b83c">&#9670;&nbsp;</a></span>NONE</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">awtk.BitmapFormat.NONE =(BITMAP_FMT_NONE())</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>无效格式。 </p>

</div>
</div>
<a id="adc555dca36daed2ab13f915489f89f3a"></a>
<h2 class="memtitle"><span class="permalink"><a href="#adc555dca36daed2ab13f915489f89f3a">&#9670;&nbsp;</a></span>RGB565</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">awtk.BitmapFormat.RGB565 =(BITMAP_FMT_RGB565())</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>一个像素占用2个字节，RGB分别占用5,6,5位, 按内存地址递增。 </p>

</div>
</div>
<a id="aa24974876f0b0a07248122e5a7b80b86"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa24974876f0b0a07248122e5a7b80b86">&#9670;&nbsp;</a></span>RGB888</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">awtk.BitmapFormat.RGB888 =(BITMAP_FMT_RGB888())</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>一个像素占用3个字节，RGB占一个字节，按内存地址递增。 </p>

</div>
</div>
<a id="a842df7da3dff87f91af9736e58138bc8"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a842df7da3dff87f91af9736e58138bc8">&#9670;&nbsp;</a></span>RGBA8888</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">awtk.BitmapFormat.RGBA8888 =(BITMAP_FMT_RGBA8888())</td>
        </tr>
      </table>
</div><div class="memdoc">
<p>一个像素占用4个字节，RGBA占一个字节，按内存地址递增。 </p>

</div>
</div>
<hr/>枚举说明文档从下列文件生成:<ul>
<li>output/BitmapFormat.java</li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.13
</small></address>
</body>
</html>
